
import {requestInstance} from "../Request";


// 登录请求
export function userList(params) {

  return requestInstance.getRequest({
    url:'/userList',
    params:params
  });
}

export function addUser(params) {

  return requestInstance.postRequest({
    url:'/addUser',
    data:params
  });

}

export function changeActive(params) {

  return requestInstance.postRequest({
    url:'/changeActive',
    data: params
  })

}

export function updateUser(params) {

  return requestInstance.postRequest({
    url:'/updateUser',
    data:params
  })
};

export function deleteUser(params) {

  return requestInstance.postRequest({
    url:'/deleteUser',
    data:params
  })
}